<%-- 
    Document   : Admin
    Created on : Nov 1, 2011, 11:23:06 PM
    Author     : Mr-aUgust
--%>

<%@page pageEncoding="UTF-8"%>
<%--
The taglib directive below imports the JSTL library. If you uncomment it,
you must also add the JSTL library to the project. The Add Library... action
on Libraries node in Projects view can be used to add the JSTL 1.1 library.
--%>
<%--
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 
--%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>East2West Tours and Travels</title>
        <script src="../js/jqueryvalidate.js" type="text/javascript"></script>
        <script src="../js/jquery.validate.js" type="text/javascript"></script>
        <script type="text/javascript">
            $(document).ready(function() {
            $("#commentForm").validate
                ({
                    rules:{
                        user:{ required: true},
                        pass:{required: true},
                        phone:{required: true, digits: true}
                    },
                    messages: {
                        user:{ required: "*"},
                        pass:{required: "*"},
                        phone:{required: "*", digits: "Only digits"}
                        }            
                });   
                
            });
        </script>
        <style type="text/css">
            .login
            {
                margin-left:auto;
                margin-right:auto;
                width:350px;
                height:180px;
                margin-top:80px;
                background-color:#e8f0dc;
                border:6px solid #84b788;
            }
            #font
            {
                font-family:"Times New Roman", Times, serif;
                color:black;
                font-size:0.9em;
            }
            .chulogin
            {
                font-family:"Times New Roman", Times, serif;
                color:#1b10f2;
                font-size:x-large;
                font-weight:bold;
                
            }
            .sizelogin
            {
            width:100px;
            }
        </style>
    </head>
    <body>
      <div class="login">
        <form action="../ControllerAdmin" method="post" id="commentForm" >
            <table border="0" width="350px"  cellpadding="1" cellspacing="1">
                <tr>
                    <td colspan="2" align="center" class="chulogin"> Login Admin</td>
                </tr>
                <tr>
                    <td colspan="2" align="center" valign="top"><hr></td>
                </tr>
                 <tr>
                     <td colspan="2" align="center" valign="top" ></td>
                </tr>
                <tr>
                    <td width="100px">Username:</td>
                    <td style="color:red;">
                        <input type="text" name="user" maxlength="20"  size="25"/>
                    </td>
                </tr>
                <tr>
                    <td>Password:</td>
                    <td style="color:red;"><input type="password" id="pass" name="pass" maxlength="15" size="25"/></td>
                </tr>
                 <tr>
                    <td colspan="2" align="center" valign="top"></td>
                </tr>
                <tr>
                    <td colspan="2" align="center"><input type="submit" name="login" class="sizelogin" value="Login" /></td>
                </tr>
            </table>       
       </form>
    </div>
    </body>
</html>
